//
//  HMDiscoverTableViewController.swift
//  weibo
//
//  Created by LCH on 16/3/2.
//  Copyright © 2016年 lch. All rights reserved.
//

import UIKit

class HMDiscoverTableViewController: HMVisitorViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        if !userLogin {
        
         visitorView.setPageInfo("visitordiscover_image_message", message: "登录后，最新、最热微博尽在掌握，不再会与实事潮流擦肩而过")
            
            return
        
        }
        
        
        setupUI()
      
    }

    private func setupUI() {
    
      let searchView = HMDiscoverySearchView.searchView()
        
       searchView.frame.size.width = UIScreen.mainScreen().bounds.width
        
       navigationItem.titleView = searchView
    
    }

}
